//
//  SLLockKeyModel.h
//  SlockApp
//
//  Created by 凯朱 on 2024/7/25.
//

#import <Foundation/Foundation.h>
@interface SLLockFingerModel : NSObject
@property (nonatomic, strong)NSString *fingName;//指纹名称
@property (nonatomic, strong)NSString *accessId;/*钥匙的保存id*/
@property (nonatomic, strong)NSString *uid;/*钥匙的所属成员id*/
@property (nonatomic, strong)NSString *keyId;/*钥匙id*/
@property (nonatomic, strong)NSString *fingId;/*指纹id*/
@property (nonatomic, assign)BOOL isDelete;/*是否被删除*/
@end

@interface SLLockKeyModel : NSObject
@property (nonatomic, strong)NSString *status;/*状态 0-禁用 1-使用*/
@property (nonatomic, strong)NSString *keyName;//钥匙名称
@property (nonatomic, assign)NSInteger keyType;//1-永久钥匙 2-时间段钥匙  3-一次性钥匙
@property (nonatomic, assign)NSInteger lockType;//1-指纹钥匙 2-蓝牙钥匙
@property (nonatomic, strong)NSString *lockName;//钥匙名称
@property (nonatomic, strong)NSString *desc;//描述
@property (nonatomic, strong)NSString *startTime;//开始时间 时间段和一次性钥匙有值 2018-01-26 08:00:00
@property (nonatomic, strong)NSString *endTime;//开始时间 时间段和一次性钥匙有值 2018-01-26 08:00:00
@property (nonatomic, strong)NSArray *weekDays;/*一周重复时间 例如@[@"1",@"2",@"3"]//分别代表周日-周六 时间段钥匙有值*/
@property (nonatomic, strong)NSString *dayStart;//循环钥匙 - 每天开始时间 时间段钥匙有值 08:00
@property (nonatomic, strong)NSString *dayEnd;//循环钥匙 - 每天结束时间 时间段钥匙有值 08:30
@property (nonatomic, strong)NSString *uid;/*钥匙所属的成员id*/
@property (nonatomic, strong)NSString *uame;/*钥匙所属的成员名称*/
@property (nonatomic, strong)NSArray <SLLockFingerModel *>*fingers;//钥匙的指纹数据
@property (nonatomic, strong)NSString *keyId;/*钥匙id 服务端生成*/
@property (nonatomic, strong)NSString *createTime;/*创建时间*/
@property (nonatomic, strong)NSString *createBy;/*创建人*/
@property (nonatomic, strong)NSString *ownerId;/*钥匙拥有者id*/
@property (nonatomic, strong)NSString *isUsbKey;/*是否是usbkey录入的 0-不是 1-是*/
@property (nonatomic, strong)NSString *isUse;/*是否是usbkey录入的 0-不是 1-是*/
@end



